package Kuaishou;

import java.util.List;

import org.apache.commons.compress.utils.Lists;

/**
 * @author leiwenkang <leiwenkang@kuaishou.com>
 * Created on 2021-01-07
 */
public class Test26插入集合 {
    public static void main(String[] args) {
        List<String> list = Lists.newArrayList();
        for (int i = 0; i < 10; i++) {
            list.add(i + "");
        }

        System.out.println(list);
        list.add(0, "100");
        System.out.println(list);
        list.remove("10");
        System.out.println(list);
    }
}
